package com.cnhis.cloudhealth.clinical.hosdoctor.doctororderdelete.dao;

import com.cnhis.cloudhealth.commons.dao.BaseDao;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Repository
public class DoctororderdeleteDao extends BaseDao {
  
	public List<Map<String,Object>> getAdviceDetailByID(List<Map<String,Object>> ls) throws Exception {
		Map<String,Object> params = new HashMap<String,Object>();
		params.put("list",ls);
		return queryForList("Doctororderdelete.getAdviceDetailByID", params);
	}

	public List<Map<String,Object>> getVafsByTmpCBMall(List<Map<String,Object>> ls) throws Exception {
		Map<String,Object> params = new HashMap<String,Object>();
		params.put("list",ls);
		return queryForList("Doctororderdelete.getVafsByTmpCBMall", params);
	}

	public void insertDelVbg(List<Map<String,Object>> ls) throws Exception {
		Map<String,Object> params = new HashMap<String,Object>();
		params.put("list",ls);
		insert("Doctororderdelete.insertDelVbg", params);
	}

	public void delMzCBM2(List<Map<String,Object>> ls) throws Exception {
		Map<String,Object> params = new HashMap<String,Object>();
		params.put("list",ls);
		delete("Doctororderdelete.delMzCBM2", params);
	}

	public void delMzVBQ2(List<Map<String,Object>> ls) throws Exception {
		Map<String,Object> params = new HashMap<String,Object>();
		params.put("list",ls);
		delete("Doctororderdelete.delMzVBQ2", params);
	}

	public void delMzVAF2(List<Map<String,Object>> ls) throws Exception {
		Map<String,Object> params = new HashMap<String,Object>();
		params.put("list",ls);
		delete("Doctororderdelete.delMzVAF2", params);
	}

	public void delMzVAO2(List<Map<String,Object>> ls) throws Exception {
		Map<String,Object> params = new HashMap<String,Object>();
		params.put("list",ls);
		delete("Doctororderdelete.delMzVAO2", params);
	}

	public void insertVbgDel(List<Map<String,Object>> ls) throws Exception {
		Map<String,Object> params = new HashMap<String,Object>();
		params.put("list",ls);
		insert("Doctororderdelete.insertVbgDel", params);
	}

	public void delVCR1ByTmpVafdf(List<Map<String,Object>> ls) throws Exception {
		Map<String,Object> params = new HashMap<String,Object>();
		params.put("list",ls);
		delete("Doctororderdelete.delVCR1ByTmpVafdf", params);
	}

	public void updateVBZ1ByTmpVafdf(List<Map<String,Object>> ls) throws Exception {
		Map<String,Object> params = new HashMap<String,Object>();
		params.put("list",ls);
		update("Doctororderdelete.updateVBZ1ByTmpVafdf", params);
	}
	public List<Map<String,Object>> deleteAdviceList(Map map)throws Exception{
		return queryForList("Doctororderdelete.deleteAdviceList", map);
	}
	public List<Map<String,Object>> deleteAdviceList1(Map map)throws Exception{
		return queryForList("Doctororderdelete.deleteAdviceList1", map);
	}
	public List<Map<String,Object>> deleteAdviceList2(Map map)throws Exception{
		return queryForList("Doctororderdelete.deleteAdviceList2", map);
	}
	public List<Map<String,Object>> deleteAdviceList3(Map map)throws Exception{
		return queryForList("Doctororderdelete.deleteAdviceList3", map);
	}
	public String getVAF59(Map map)throws Exception{
		return (String) queryForExtObject("Doctororderdelete.getVAF59", map);
	}
	public List<Map<String,Object>> valuationSignDeleteAdvice1(Map map)throws Exception{
		return queryForList("Doctororderdelete.valuationSignDeleteAdvice1", map);
	}
	public List valuationSignDeleteAdvice(Map map)throws Exception{
		return queryForList("Doctororderdelete.valuationSignDeleteAdvice", map);
	}
}
